SnipSuggest: Context-Aware Autocompletion for SQL
نویسندگان
چکیده
In this paper, we present SnipSuggest, a system that provides onthe-go, context-aware assistance in the SQL composition process. SnipSuggest aims to help the increasing population of non-expert database users, who need to perform complex analysis on their large-scale datasets, but have difficulty writing SQL queries. As a user types a query, SnipSuggest recommends possible additions to various clauses in the query using relevant snippets collected from a log of past queries. SnipSuggest’s current capabilities include suggesting tables, views, and table-valued functions in the FROM clause, columns in the SELECT clause, predicates in the WHERE clause, columns in the GROUP BY clause, aggregates, and some support for sub-queries. SnipSuggest adjusts its recommendations according to the context: as the user writes more of the query, it is able to provide more accurate suggestions. We evaluate SnipSuggest over two query logs: one from an undergraduate database class and another from the Sloan Digital Sky Survey database. We show that SnipSuggest is able to recommend useful snippets with up to 93.7% average precision, at interactive speed. We also show that SnipSuggest outperforms naı̈ve approaches, such as recommending popular snippets.
منابع مشابه
Leveraging Usage History to Enhance Database Usability
Leveraging Usage History to Enhance Database Usability Nodira Khoussainova Co-Chairs of the Supervisory Committee: Assistant Professor Magdalena Balazinska Department of Computer Science and Engineering Professor Dan Suciu Department of Computer Science and Engineering More so than ever before, large datasets are being collected and analyzed throughout a variety of disciplines. Examples include...
متن کاملA SQL-based Context Query Language for Context-aware Systems
Context-aware computing is a typical paradigm of ubiquitous computing and aims to provide context information anywhere and anytime. Context data management which handles gathering, processing, managing, evaluating and disseminating context information is the heart of contextaware system. Context provision and acquisition, thus, become crucial for context-aware computing. In order to decouple ap...
متن کاملContext-Based Personalization for Mobile Web Search
User experience while searching for web pages on the move can be far from satisfactory due to the inherent limitations of the input modes available in mobile devices. On the other hand, end-users can benefit from the availability of contextaware information anywhere, anytime. To overcome the usability problem and exploit context information at the same time, we propose a thesaurus-based semanti...
متن کاملCombining Context Navigation with Semantic Autocompletion to Solve Problems in Concept Selection
Many tasks on the semantic web require the user to choose concepts from a limited vocabulary e.g. for describing an indexed resource or for use in semantic search. Semantic autocompletion interfaces offer an efficient way for concept selection. However, these interfaces usually do not expose the semantic context of the matched concepts, thereby making it hard to know if a matched concept is the...
متن کاملContext-aware Modeling for Spatio-temporal Data Transmitted from a Wireless Body Sensor Network
Context-aware systems must be interoperable and work across different platforms at any time and in any place. Context data collected from wireless body area networks (WBAN) may be heterogeneous and imperfect, which makes their design and implementation difficult. In this research, we introduce a model which takes the dynamic nature of a context-aware system into consideration. This model is con...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- PVLDB
دوره 4 شماره
صفحات -
تاریخ انتشار 2010